project(hello)
cmake_minimum_required(VERSION 2.8)
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})

find_package(GTK2 REQUIRED)
find_package(X11 REQUIRED)
mark_as_advanced(
	GTK2_INCLUDE_DIRS	GTK2_LIBRARIES
	X11_INCLUDE_DIRS	X11_LIBRARIES
	)
include_directories(
	${GTK2_INCLUDE_DIRS}
	${X11_INCLUDE_DIRS}
	)
target_link_libraries(	${PROJECT_NAME}
	${GTK2_LIBRARIES}
	${X11_LIBRARIES}
	-lfakekey
	)
